import request from '@/utils/request'

// 查询口岸收费公示列表
export function listFeePublicity(query) {
  return request({
    url: '/miniapp/feePublicity/list',
    method: 'get',
    params: query
  })
}

// 查询口岸收费公示详细
export function getFeePublicity(id) {
  return request({
    url: '/miniapp/feePublicity/getInfo/' + id,
    method: 'get'
  })
}

// 新增口岸收费公示
export function addFeePublicity(data) {
  return request({
    url: '/miniapp/feePublicity/add',
    method: 'post',
    data: data
  })
}

// 修改口岸收费公示
export function updateFeePublicity(data) {
  return request({
    url: '/miniapp/feePublicity/edit',
    method: 'post',
    data: data
  })
}

// 删除口岸收费公示
export function delFeePublicity(id) {
  return request({
    url: '/miniapp/feePublicity/remove/' + id,
    method: 'get'
  })
}

// 导出口岸收费公示
export function exportFeePublicity(query) {
  return request({
    url: '/miniapp/feePublicity/export',
    method: 'get',
    params: query
  })
}
